package only.level5.railgun.ysartifactsimulation.weapon;

import only.level5.railgun.ysartifactsimulation.Bean.CharacterScene;

public abstract class Weapon {
    public Double atk;
    public Double subStatValue;
    public int refineLevel;
    public String name;
    public int code;
    public int times; // 特殊武器有叠层

    public CharacterScene mainStatEnhance(CharacterScene CharacterScene){
        CharacterScene.setAtk(CharacterScene.getAtk()+atk);
        CharacterScene.setWeapon(code);
        CharacterScene.setWeaponRefineLevel(refineLevel);
        return CharacterScene;
    }
    public abstract CharacterScene subStatEnhance(CharacterScene CharacterScene);
    public abstract CharacterScene specialAbility(CharacterScene CharacterScene);
}